package com.th.supcom.pds.impl.common.enums;

/**
 * 处方来源枚举 0-门诊 1-住院 2-出院带药，3-急诊，4-平诊,5-门诊退药，6-住院退药
 * 
 * @author yzhang
 */
public enum PrescSource
{
    /**
     * 门诊.(value=0)
     */
    OutPatient (0, "门诊"),
    /**
     * 住院.(value=1)
     */
    InHospital (1, "住院"),
    /**
     * 出院带药.(value=2)
     */
    DischargeMedication (2, "出院带药"),
    /**
     * 急诊.(value=3)
     */
    Emergency (3, "急诊"),
    /**
     * 平诊.(value=4)
     */
    OrdinaryDiagnose (4, "平诊"),
    /**
     * 门诊退药.(value=5)
     */
    OutPatientDurgReturn (5, "门诊退药"),
    /**
     * 住院退药.(value=6)
     */
    InHospitalDurgReturn (6, "住院退药");
    private Integer m_code;
    private String m_name;

    private PrescSource (Integer code, String name)
    {
        this.m_code = code;
        this.m_name = name;
    }

    public Integer getEnumCode ()
    {
        return this.m_code;
    }

    public String getEnumName ()
    {
        return this.m_name;
    }
}
